from django.urls import path
from . import views


urlpatterns = [
    path("", views.CartAPIView.as_view({"post": "add", "get": "list",
                                        "patch": "change_selected_status",
                                        "delete": "delete"})),
    path("buy/", views.CartAPIView.as_view({"get": "get_selected_course"})),
]

